
/****************************** 辐射风险-故障分析页面接口 ******************************/
import req from '@/api/http.js'

//获取根据轨道类型分组的卫星数据
export const getSatelliteTree = params => req('get', '/dt-service-manager/res-scene/getSatelliteTree', params)
//卫星空间环境风险信息表接口
export const getEnvSatRisk = params => req('get', '/dt-service-env/env-sat-risk/list', params)
//环境数据-电子数据表接口
export const getEnvGeosElectron = params => req('get', '/dt-service-env/env-goes-electron/list', params)
//环境数据-质子数据表接口
export const getEnvGeosProton = params => req('get', '/dt-service-env/env-goes-proton/list', params)

//环境故障表-新增
export const addEnvEalfuncation = params => req('post', '/dt-service-env/env-malfuncation/save', params)

//环境故障表-更新
export const updateEnvEalfuncation = params => req('post', '/dt-service-env/env-malfuncation/update', params)

// 环境故障表-查询
export const getEnvEalfuncation = params => req('get', '/dt-service-env/env-malfuncation/list', params)

//  环境故障表-获取时间对应的故障数量
export const getCountMalfuncationNum = params => req('get', '/dt-service-env/env-malfuncation/countMalfuncationNum', params)

//  获取辐射通量统计配置
export const getSysConfigList = params => req('get', '/dt-service-manager/sys-config/list', params)

//测试数据
export const getTest = params => req('get', '/dt-service-env/env-goes-electron/listTest', params)